<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Win32k: srvmsg.c 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Win32k
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('a00866.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">宏定义</a> &#124;
<a href="#func-members">函数</a>  </div>
  <div class="headertitle">
<div class="title">srvmsg.c 文件参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="a03629_source.html">precomp.h</a>&quot;</code><br />
<code>#include &lt;<a class="el" href="a00350_source.html">messages.h</a>&gt;</code><br />
</div>
<p><a href="a00866_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:aae0f8b2b9d5a78e9bfb01af2326c8828"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00866.html#aae0f8b2b9d5a78e9bfb01af2326c8828">SfnWMCTLCOLOR</a>&#160;&#160;&#160;SfnDWORD</td></tr>
<tr class="separator:aae0f8b2b9d5a78e9bfb01af2326c8828"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae284e91cff91a3b46374c4e1aa731ee5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00866.html#ae284e91cff91a3b46374c4e1aa731ee5">SfnHFONTDWORDDWORD</a>&#160;&#160;&#160;SfnDWORD</td></tr>
<tr class="separator:ae284e91cff91a3b46374c4e1aa731ee5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c42ab2d169780b2fca488c574d2506f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00866.html#a9c42ab2d169780b2fca488c574d2506f">SfnHFONTDWORD</a>&#160;&#160;&#160;SfnDWORD</td></tr>
<tr class="separator:a9c42ab2d169780b2fca488c574d2506f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba08d596932f1df630014847b1859927"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00866.html#aba08d596932f1df630014847b1859927">SfnHRGNDWORD</a>&#160;&#160;&#160;SfnDWORD</td></tr>
<tr class="separator:aba08d596932f1df630014847b1859927"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc680498fa909befc29901bf3723cae6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00866.html#abc680498fa909befc29901bf3723cae6">SfnHDCDWORD</a>&#160;&#160;&#160;SfnDWORD</td></tr>
<tr class="separator:abc680498fa909befc29901bf3723cae6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a107ca06bb0b6f2facf7f47fc0afd15d7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00866.html#a107ca06bb0b6f2facf7f47fc0afd15d7">SfnDDEINIT</a>&#160;&#160;&#160;SfnDWORD</td></tr>
<tr class="separator:a107ca06bb0b6f2facf7f47fc0afd15d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba08d596932f1df630014847b1859927"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00866.html#aba08d596932f1df630014847b1859927">SfnHRGNDWORD</a>&#160;&#160;&#160;SfnDWORD</td></tr>
<tr class="separator:aba08d596932f1df630014847b1859927"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a131a9c08c373a4989df8c52c9ad0f784"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00866.html#a131a9c08c373a4989df8c52c9ad0f784">SfnKERNELONLY</a>&#160;&#160;&#160;SfnDWORD</td></tr>
<tr class="separator:a131a9c08c373a4989df8c52c9ad0f784"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa83c5f127ecdad192a6975fefcb6fd3b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00866.html#aa83c5f127ecdad192a6975fefcb6fd3b">MSGFN</a>(func)&#160;&#160;&#160;Sfn ## func</td></tr>
<tr class="separator:aa83c5f127ecdad192a6975fefcb6fd3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54a06100c459886d217e18d04df95a81"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00866.html#a54a06100c459886d217e18d04df95a81">FNSCSENDMESSAGE</a>&#160;&#160;&#160;<a class="el" href="a00899.html#acab7070674aa5a6b8ccf8cf08f659028">SFNSCSENDMESSAGE</a></td></tr>
<tr class="separator:a54a06100c459886d217e18d04df95a81"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:aebeb505d79d21b52ef75519982e12c52"><td class="memItemLeft" align="right" valign="top">LONG&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00866.html#aebeb505d79d21b52ef75519982e12c52">SfnINLBOXSTRING</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwnd, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> msg, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> wParam, LONG lParam, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> xParam, PROC xpfn, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> dwSCMSFlags, <a class="el" href="a00899.html#a2bbc057c13dffc4e0b85dc00887d5ae3">PSMS</a> psms)</td></tr>
<tr class="separator:aebeb505d79d21b52ef75519982e12c52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94f648357120e8fe14269175d030d7ed"><td class="memItemLeft" align="right" valign="top">LONG&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00866.html#a94f648357120e8fe14269175d030d7ed">SfnOUTLBOXSTRING</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwnd, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> msg, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> wParam, LONG lParam, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> xParam, PROC xpfn, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> dwSCMSFlags, <a class="el" href="a00899.html#a2bbc057c13dffc4e0b85dc00887d5ae3">PSMS</a> psms)</td></tr>
<tr class="separator:a94f648357120e8fe14269175d030d7ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af527d37ea42c75c88edf8361d8374131"><td class="memItemLeft" align="right" valign="top">LONG&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00866.html#af527d37ea42c75c88edf8361d8374131">SfnINCBOXSTRING</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwnd, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> msg, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> wParam, LONG lParam, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> xParam, PROC xpfn, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> dwSCMSFlags, <a class="el" href="a00899.html#a2bbc057c13dffc4e0b85dc00887d5ae3">PSMS</a> psms)</td></tr>
<tr class="separator:af527d37ea42c75c88edf8361d8374131"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96644f48f3c85718118b82a8f9222130"><td class="memItemLeft" align="right" valign="top">LONG&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00866.html#a96644f48f3c85718118b82a8f9222130">SfnOUTCBOXSTRING</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwnd, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> msg, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> wParam, LONG lParam, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> xParam, PROC xpfn, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> dwSCMSFlags, <a class="el" href="a00899.html#a2bbc057c13dffc4e0b85dc00887d5ae3">PSMS</a> psms)</td></tr>
<tr class="separator:a96644f48f3c85718118b82a8f9222130"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">宏定义说明</h2>
<a id="a54a06100c459886d217e18d04df95a81"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54a06100c459886d217e18d04df95a81">&#9670;&nbsp;</a></span>FNSCSENDMESSAGE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FNSCSENDMESSAGE&#160;&#160;&#160;<a class="el" href="a00899.html#acab7070674aa5a6b8ccf8cf08f659028">SFNSCSENDMESSAGE</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00866_source.html">srvmsg.c</a> 第 <a class="el" href="a00866_source.html#l00024">24</a> 行定义.</p>

</div>
</div>
<a id="aa83c5f127ecdad192a6975fefcb6fd3b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa83c5f127ecdad192a6975fefcb6fd3b">&#9670;&nbsp;</a></span>MSGFN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MSGFN</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">func</td><td>)</td>
          <td>&#160;&#160;&#160;Sfn ## func</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00866_source.html">srvmsg.c</a> 第 <a class="el" href="a00866_source.html#l00023">23</a> 行定义.</p>

</div>
</div>
<a id="a107ca06bb0b6f2facf7f47fc0afd15d7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a107ca06bb0b6f2facf7f47fc0afd15d7">&#9670;&nbsp;</a></span>SfnDDEINIT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SfnDDEINIT&#160;&#160;&#160;SfnDWORD</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00866_source.html">srvmsg.c</a> 第 <a class="el" href="a00866_source.html#l00019">19</a> 行定义.</p>

</div>
</div>
<a id="abc680498fa909befc29901bf3723cae6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc680498fa909befc29901bf3723cae6">&#9670;&nbsp;</a></span>SfnHDCDWORD</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SfnHDCDWORD&#160;&#160;&#160;SfnDWORD</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00866_source.html">srvmsg.c</a> 第 <a class="el" href="a00866_source.html#l00018">18</a> 行定义.</p>

</div>
</div>
<a id="a9c42ab2d169780b2fca488c574d2506f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c42ab2d169780b2fca488c574d2506f">&#9670;&nbsp;</a></span>SfnHFONTDWORD</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SfnHFONTDWORD&#160;&#160;&#160;SfnDWORD</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00866_source.html">srvmsg.c</a> 第 <a class="el" href="a00866_source.html#l00016">16</a> 行定义.</p>

</div>
</div>
<a id="ae284e91cff91a3b46374c4e1aa731ee5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae284e91cff91a3b46374c4e1aa731ee5">&#9670;&nbsp;</a></span>SfnHFONTDWORDDWORD</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SfnHFONTDWORDDWORD&#160;&#160;&#160;SfnDWORD</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00866_source.html">srvmsg.c</a> 第 <a class="el" href="a00866_source.html#l00015">15</a> 行定义.</p>

</div>
</div>
<a id="aba08d596932f1df630014847b1859927"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba08d596932f1df630014847b1859927">&#9670;&nbsp;</a></span>SfnHRGNDWORD <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SfnHRGNDWORD&#160;&#160;&#160;SfnDWORD</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00866_source.html">srvmsg.c</a> 第 <a class="el" href="a00866_source.html#l00020">20</a> 行定义.</p>

</div>
</div>
<a id="aba08d596932f1df630014847b1859927"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba08d596932f1df630014847b1859927">&#9670;&nbsp;</a></span>SfnHRGNDWORD <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SfnHRGNDWORD&#160;&#160;&#160;SfnDWORD</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00866_source.html">srvmsg.c</a> 第 <a class="el" href="a00866_source.html#l00020">20</a> 行定义.</p>

</div>
</div>
<a id="a131a9c08c373a4989df8c52c9ad0f784"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a131a9c08c373a4989df8c52c9ad0f784">&#9670;&nbsp;</a></span>SfnKERNELONLY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SfnKERNELONLY&#160;&#160;&#160;SfnDWORD</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00866_source.html">srvmsg.c</a> 第 <a class="el" href="a00866_source.html#l00021">21</a> 行定义.</p>

</div>
</div>
<a id="aae0f8b2b9d5a78e9bfb01af2326c8828"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aae0f8b2b9d5a78e9bfb01af2326c8828">&#9670;&nbsp;</a></span>SfnWMCTLCOLOR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SfnWMCTLCOLOR&#160;&#160;&#160;SfnDWORD</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00866_source.html">srvmsg.c</a> 第 <a class="el" href="a00866_source.html#l00014">14</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">函数说明</h2>
<a id="af527d37ea42c75c88edf8361d8374131"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af527d37ea42c75c88edf8361d8374131">&#9670;&nbsp;</a></span>SfnINCBOXSTRING()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LONG SfnINCBOXSTRING </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>&#160;</td>
          <td class="paramname"><em>msg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>wParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LONG&#160;</td>
          <td class="paramname"><em>lParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>xParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PROC&#160;</td>
          <td class="paramname"><em>xpfn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>dwSCMSFlags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00899.html#a2bbc057c13dffc4e0b85dc00887d5ae3">PSMS</a>&#160;</td>
          <td class="paramname"><em>psms</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00866_source.html">srvmsg.c</a> 第 <a class="el" href="a00866_source.html#l00144">144</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;{</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;    <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> dw;</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160; </div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;<span class="comment">     * See if the control is ownerdraw and does not have the CBS_HASSTRINGS</span></div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;<span class="comment">     * style.  If so, treat lParam as a DWORD.</span></div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;    <span class="keywordflow">if</span> (!RevalidateHwnd(HW(pwnd))) {</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;        <span class="keywordflow">return</span> 0L;</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;    }</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;    dw = pwnd-&gt;style;</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160; </div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;    <span class="keywordflow">if</span> (!(dw &amp; CBS_HASSTRINGS) &amp;&amp;</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;            (dw &amp; (CBS_OWNERDRAWFIXED | CBS_OWNERDRAWVARIABLE))) {</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160; </div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<span class="comment">         * Treat lParam as a dword.</span></div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;        <span class="keywordflow">return</span> SfnDWORD(pwnd, msg, <a class="code" href="a02945.html#a7630a07d46e4a34e408cfb326d9d0648">wParam</a>, <a class="code" href="a02945.html#a5e6806726c901bac1a235d0caf8deb96">lParam</a>, xParam, xpfn, dwSCMSFlags, psms);</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;    }</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160; </div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;<span class="comment">     * Treat as a string pointer.   Some messages allowed or had certain</span></div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;<span class="comment">     * error codes for NULL so send them through the NULL allowed thunk.</span></div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;<span class="comment">     * Ventura Publisher does this</span></div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;    <span class="keywordflow">switch</span> (msg) {</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;        <span class="keywordflow">default</span>:</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;            <span class="keywordflow">return</span> SfnINSTRING(pwnd, msg, <a class="code" href="a02945.html#a7630a07d46e4a34e408cfb326d9d0648">wParam</a>, <a class="code" href="a02945.html#a5e6806726c901bac1a235d0caf8deb96">lParam</a>, xParam, xpfn, dwSCMSFlags, psms);</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160; </div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;        <span class="keywordflow">case</span> CB_FINDSTRING:</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;            <span class="keywordflow">return</span> SfnINSTRINGNULL(pwnd, msg, <a class="code" href="a02945.html#a7630a07d46e4a34e408cfb326d9d0648">wParam</a>, <a class="code" href="a02945.html#a5e6806726c901bac1a235d0caf8deb96">lParam</a>, xParam, xpfn, dwSCMSFlags, psms);</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;    }</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00899_source.html#l02611">tagSMS::lParam</a> , 以及 <a class="el" href="a00899_source.html#l02610">tagSMS::wParam</a>.</p>

</div>
</div>
<a id="aebeb505d79d21b52ef75519982e12c52"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aebeb505d79d21b52ef75519982e12c52">&#9670;&nbsp;</a></span>SfnINLBOXSTRING()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LONG SfnINLBOXSTRING </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>&#160;</td>
          <td class="paramname"><em>msg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>wParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LONG&#160;</td>
          <td class="paramname"><em>lParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>xParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PROC&#160;</td>
          <td class="paramname"><em>xpfn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>dwSCMSFlags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00899.html#a2bbc057c13dffc4e0b85dc00887d5ae3">PSMS</a>&#160;</td>
          <td class="paramname"><em>psms</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00866_source.html">srvmsg.c</a> 第 <a class="el" href="a00866_source.html#l00036">36</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;{</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> dw;</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160; </div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="comment">     * See if the control is ownerdraw and does not have the LBS_HASSTRINGS</span></div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="comment">     * style.  If so, treat lParam as a DWORD.</span></div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    <span class="keywordflow">if</span> (!RevalidateHwnd(HW(pwnd))) {</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;        <span class="keywordflow">return</span> 0L;</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    }</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    dw = pwnd-&gt;style;</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160; </div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    <span class="keywordflow">if</span> (!(dw &amp; LBS_HASSTRINGS) &amp;&amp;</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;            (dw &amp; (LBS_OWNERDRAWFIXED | LBS_OWNERDRAWVARIABLE))) {</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160; </div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="comment">         * Treat lParam as a dword.</span></div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;        <span class="keywordflow">return</span> SfnDWORD(pwnd, msg, <a class="code" href="a02945.html#a7630a07d46e4a34e408cfb326d9d0648">wParam</a>, <a class="code" href="a02945.html#a5e6806726c901bac1a235d0caf8deb96">lParam</a>, xParam, xpfn, dwSCMSFlags, psms);</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    }</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160; </div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="comment">     * Treat as a string pointer.   Some messages allowed or had certain</span></div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="comment">     * error codes for NULL so send them through the NULL allowed thunk.</span></div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="comment">     * Ventura Publisher does this</span></div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <span class="keywordflow">switch</span> (msg) {</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;        <span class="keywordflow">default</span>:</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;            <span class="keywordflow">return</span> SfnINSTRING(pwnd, msg, <a class="code" href="a02945.html#a7630a07d46e4a34e408cfb326d9d0648">wParam</a>, <a class="code" href="a02945.html#a5e6806726c901bac1a235d0caf8deb96">lParam</a>, xParam, xpfn, dwSCMSFlags, psms);</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160; </div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;        <span class="keywordflow">case</span> LB_FINDSTRING:</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;            <span class="keywordflow">return</span> SfnINSTRINGNULL(pwnd, msg, <a class="code" href="a02945.html#a7630a07d46e4a34e408cfb326d9d0648">wParam</a>, <a class="code" href="a02945.html#a5e6806726c901bac1a235d0caf8deb96">lParam</a>, xParam, xpfn, dwSCMSFlags, psms);</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    }</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00899_source.html#l02611">tagSMS::lParam</a> , 以及 <a class="el" href="a00899_source.html#l02610">tagSMS::wParam</a>.</p>

</div>
</div>
<a id="a96644f48f3c85718118b82a8f9222130"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96644f48f3c85718118b82a8f9222130">&#9670;&nbsp;</a></span>SfnOUTCBOXSTRING()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LONG SfnOUTCBOXSTRING </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>&#160;</td>
          <td class="paramname"><em>msg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>wParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LONG&#160;</td>
          <td class="paramname"><em>lParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>xParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PROC&#160;</td>
          <td class="paramname"><em>xpfn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>dwSCMSFlags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00899.html#a2bbc057c13dffc4e0b85dc00887d5ae3">PSMS</a>&#160;</td>
          <td class="paramname"><em>psms</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00866_source.html">srvmsg.c</a> 第 <a class="el" href="a00866_source.html#l00200">200</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;{</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;    <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> dw;</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;    BOOL bNotString;</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;    <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> dwRet;</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;    <a class="code" href="a01881.html">TL</a> tlpwnd;</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160; </div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;<span class="comment">     * See if the control is ownerdraw and does not have the CBS_HASSTRINGS</span></div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;<span class="comment">     * style.  If so, treat lParam as a DWORD.</span></div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160; </div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;    <span class="keywordflow">if</span> (!RevalidateHwnd(HW(pwnd))) {</div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;        <span class="keywordflow">return</span> 0L;</div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;    }</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;    dw = pwnd-&gt;style;</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160; </div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;    bNotString = (!(dw &amp; CBS_HASSTRINGS) &amp;&amp;</div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;            (dw &amp; (CBS_OWNERDRAWFIXED | CBS_OWNERDRAWVARIABLE)));</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160; </div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;<span class="comment">     * Make this special call which&#39;ll know how to copy this string.</span></div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;    <a class="code" href="a00899.html#abfae1dfb48db23dcea4494f7990ad6a6">ThreadLock</a>(pwnd, &amp;tlpwnd);</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;    dwRet = <a class="code" href="a00899.html#a5cf01a297dcbe7e09d4dcdf3d61dedde">ClientGetListboxString</a>(pwnd, msg, <a class="code" href="a02945.html#a7630a07d46e4a34e408cfb326d9d0648">wParam</a>,</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;            (<a class="code" href="a02457.html">PLARGE_UNICODE_STRING</a>)<a class="code" href="a02945.html#a5e6806726c901bac1a235d0caf8deb96">lParam</a>,</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;            xParam, xpfn, dwSCMSFlags, bNotString, psms);</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;    ThreadUnlock(&amp;tlpwnd);</div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;    <span class="keywordflow">return</span> dwRet;</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00899.html#a5cf01a297dcbe7e09d4dcdf3d61dedde">ClientGetListboxString()</a>, <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00899_source.html#l02611">tagSMS::lParam</a>, <a class="el" href="a00899.html#abfae1dfb48db23dcea4494f7990ad6a6">ThreadLock()</a> , 以及 <a class="el" href="a00899_source.html#l02610">tagSMS::wParam</a>.</p>

</div>
</div>
<a id="a94f648357120e8fe14269175d030d7ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94f648357120e8fe14269175d030d7ed">&#9670;&nbsp;</a></span>SfnOUTLBOXSTRING()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LONG SfnOUTLBOXSTRING </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>&#160;</td>
          <td class="paramname"><em>msg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>wParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LONG&#160;</td>
          <td class="paramname"><em>lParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>xParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PROC&#160;</td>
          <td class="paramname"><em>xpfn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>dwSCMSFlags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00899.html#a2bbc057c13dffc4e0b85dc00887d5ae3">PSMS</a>&#160;</td>
          <td class="paramname"><em>psms</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00866_source.html">srvmsg.c</a> 第 <a class="el" href="a00866_source.html#l00092">92</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;{</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> dw;</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    BOOL bNotString;</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> dwRet;</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;    <a class="code" href="a01881.html">TL</a> tlpwnd;</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160; </div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;<span class="comment">     * See if the control is ownerdraw and does not have the LBS_HASSTRINGS</span></div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;<span class="comment">     * style.  If so, treat lParam as a DWORD.</span></div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    <span class="keywordflow">if</span> (!RevalidateHwnd(HW(pwnd))) {</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;        <span class="keywordflow">return</span> 0L;</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    }</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    dw = pwnd-&gt;style;</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160; </div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;<span class="comment">     * See if the control is ownerdraw and does not have the LBS_HASSTRINGS</span></div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;<span class="comment">     * style.  If so, treat lParam as a DWORD.</span></div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    bNotString =  (!(dw &amp; LBS_HASSTRINGS) &amp;&amp;</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;            (dw &amp; (LBS_OWNERDRAWFIXED | LBS_OWNERDRAWVARIABLE)));</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160; </div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="comment">     * Make this special call which&#39;ll know how to copy this string.</span></div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;    <a class="code" href="a00899.html#abfae1dfb48db23dcea4494f7990ad6a6">ThreadLock</a>(pwnd, &amp;tlpwnd);</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;    dwRet = <a class="code" href="a00899.html#a5cf01a297dcbe7e09d4dcdf3d61dedde">ClientGetListboxString</a>(pwnd, msg, <a class="code" href="a02945.html#a7630a07d46e4a34e408cfb326d9d0648">wParam</a>,</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;            (<a class="code" href="a02457.html">PLARGE_UNICODE_STRING</a>)<a class="code" href="a02945.html#a5e6806726c901bac1a235d0caf8deb96">lParam</a>,</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;            xParam, xpfn, dwSCMSFlags, bNotString, psms);</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;    ThreadUnlock(&amp;tlpwnd);</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    <span class="keywordflow">return</span> dwRet;</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00899.html#a5cf01a297dcbe7e09d4dcdf3d61dedde">ClientGetListboxString()</a>, <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00899_source.html#l02611">tagSMS::lParam</a>, <a class="el" href="a00899.html#abfae1dfb48db23dcea4494f7990ad6a6">ThreadLock()</a> , 以及 <a class="el" href="a00899_source.html#l02610">tagSMS::wParam</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aa02945_html_a5e6806726c901bac1a235d0caf8deb96"><div class="ttname"><a href="a02945.html#a5e6806726c901bac1a235d0caf8deb96">tagSMS::lParam</a></div><div class="ttdeci">DWORD lParam</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02611">userk.h:2611</a></div></div>
<div class="ttc" id="aa00899_html_abfae1dfb48db23dcea4494f7990ad6a6"><div class="ttname"><a href="a00899.html#abfae1dfb48db23dcea4494f7990ad6a6">ThreadLock</a></div><div class="ttdeci">VOID ThreadLock(PVOID pobj, PTL ptl)</div></div>
<div class="ttc" id="aa00563_html_a074685e97e89d6aa2accdfcb82328699"><div class="ttname"><a href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a></div><div class="ttdeci">ddeml v[i&lt; inst &gt;][t&lt; type &gt;][hObj|pObj] Dump DDEML state information ddeml lists all ddeml instances for this process n ddeml t&lt; type &gt; lists all ddeml objects of the given type n n assumes link is first DWORD</div><div class="ttdef"><b>Definition:</b> <a href="a00563_source.html#l00175">exts.h:175</a></div></div>
<div class="ttc" id="aa01881_html"><div class="ttname"><a href="a01881.html">_TL</a></div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00347">usercli.h:347</a></div></div>
<div class="ttc" id="aa00899_html_a5cf01a297dcbe7e09d4dcdf3d61dedde"><div class="ttname"><a href="a00899.html#a5cf01a297dcbe7e09d4dcdf3d61dedde">ClientGetListboxString</a></div><div class="ttdeci">DWORD ClientGetListboxString(PWND hwnd, UINT msg, DWORD wParam, PVOID lParam, DWORD xParam, PROC xpfn, DWORD dwSCMSFlags, BOOL bNotString, PSMS psms)</div></div>
<div class="ttc" id="aa02945_html_a7630a07d46e4a34e408cfb326d9d0648"><div class="ttname"><a href="a02945.html#a7630a07d46e4a34e408cfb326d9d0648">tagSMS::wParam</a></div><div class="ttdeci">DWORD wParam</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02610">userk.h:2610</a></div></div>
<div class="ttc" id="aa02457_html"><div class="ttname"><a href="a02457.html">_LARGE_UNICODE_STRING</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00280">user.h:280</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_885cc87fac2d91e269af0a5a959fa5f6.html">E:</a></li><li class="navelem"><a class="el" href="dir_4e091ed8704426a7a4980368ba259fde.html">git</a></li><li class="navelem"><a class="el" href="dir_cd70cb5eb491250157f2d55d3ff4b13e.html">backup</a></li><li class="navelem"><a class="el" href="dir_ba2b673b566ba104b956abdc6dec0552.html">org</a></li><li class="navelem"><a class="el" href="dir_5bb0003d7907b45051943541418399f5.html">ntuser</a></li><li class="navelem"><a class="el" href="dir_2a0a56546b70a0973705719e6a88eab3.html">kernel</a></li><li class="navelem"><a class="el" href="a00866.html">srvmsg.c</a></li>
    <li class="footer">制作者
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
